package com.r2coding.common.constant;

/**
 * @author:98k灬
 * @since:2022/04/04 10:39
 **/
public class Constant {
    /**
     * 超级管理员ID
     */
    public static final int SUPER_ADMIN = 1;
    /**
     * 当前页码
     */
    public static final String PAGE = "page";
    /**
     * 每页显示记录数
     */
    public static final String LIMIT = "limit";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "sidx";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     * 升序
     */
    public static final String ASC = "asc";

    /**
     * 点赞或者取消点赞的redis key前缀
     */
    public static final String ARTICLE_THUMHUP_PREFIX = "article_thumhup_";

    /**
     * 文章的浏览量 redis key 前缀
     */
    public static final String ARTICLE_VIEW_PREFIX = "article_view_";

    /**
     * 管理员邮箱
     */
    public static final String ADMIN_EMAIL = "98k_style@sina.com";

}
